package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "option")//选项
public class Option implements java.io.Serializable{
    private static final long serialVersionUID = -8306843811901140288L;
    private ObjectId id; //主键id
    private String optionNumber; //选项编号
    private String optionName; //选项名称
    private String questionNumber; //试题编号
    private Integer score;//分值
    private Long created; //创建时间
}
